package com.chuangan.releasetask.mapper;

import com.chuangan.releasetask.pojo.BonusRecord;
import com.chuangan.releasetask.pojo.SysConfig;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Author: zihua
 * @Date: 2020/9/23 16:01
 * @Version 1.0
 */
@Component
public interface SysConfigMapper {

    SysConfig getSysConfigByName(String paramKey);


    List<SysConfig> getSysConfigByMemo(String remark);

    BonusRecord getBonusDrawRecordByRanking(@Param("bonusName")String bonusName,@Param("userAccount") String userAccount);


}
